package net.zjitc.company;

/**
 * @Author admin
 * @Date 2019/3/13 9:03
 */
public class Company {
    private String name;
    private int num;

    Company(){ }

    Company( String name, int num ){
        this.name = name;
        this.num = num;
    }

    void output(){
        System.out.println("公司名"+name+"员工人数:"+num);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }
}
